package com.atguigu.springsecuritydemo.controller;


import com.atguigu.springsecuritydemo.component.ApplicationUtils;
import org.springframework.context.ApplicationContext;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: robert.song
 * @Date: Created in 2022/3/20
 */
@RestController
@RequestMapping("/test")
public class TestController {

    public static ApplicationContext context;

    @GetMapping("hello")
    public String test() {
        return "hello security";
    }
}
